const Sequelize = require('sequelize')
const {MYSQL_CONF: {host, user, password, database}} = require('../conf/db')

const seq = new Sequelize(database, user, password, {
  host,
  dialect: 'mysql',
  define: {
    'underscored': true,
    'charset':'utf8mb4'
  }
})

module.exports = seq


